<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>{{ form.pagename }} - 学校宝典</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <!-- Bootstrap 3.3.4 -->
    <link href="/bd/web/AdminLTE/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />    

    <!-- Theme style -->
    <link href="/bd/web/AdminLTE/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
    <!-- AdminLTE Skins. Choose a skin from the css/skins 
         folder instead of downloading all of them to reduce the load. -->
    <link href="/bd/web/AdminLTE/dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />

  </head>

  <body class="skin-blue sidebar-mini">


      <!-- Left side column. contains the logo and sidebar -->
      {# <!-- {{{ --> #}
      <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
	{# <!-- {{{ --> #}
        <section class="sidebar">
          <!-- Sidebar user panel -->
	  {# <!-- {{{ --> #}
          <div class="user-panel">
            <div class="pull-left image">
              <img src="/bd/web/AdminLTE/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
            </div>
            <div class="pull-left info">
              <p>管理员</p>

              <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
            </div>
          </div>
	  <!-- }}} -->

	  <!-- search form in left side column -->
	  {# <!-- {{{ --> #}
          <!-- search form -->
          <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
              <input type="text" name="q" class="form-control" placeholder="搜索..."/>
              <span class="input-group-btn">
                <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
            </div>
          </form>
          <!-- /.search form -->
	  <!-- }}} -->

          <!-- sidebar menu: : style can be found in sidebar.less -->
          <ul class="sidebar-menu">
            <li class="header">导航</li>
	    <li class="active"><a href="/bd/view_schools"><i class="fa fa-circle-o"></i> 所有学校 
		{% if form and form.school_count %}
               <small class="label pull-right bg-yellow">{{form.school_count}}</small>
	       {%  endif %}
</a></li>
	    <li class="active"><a href="/bd/view_institutions"><i class="fa fa-circle-o"></i> 所有培训机构
		{% if form and form.institution_count %}
               <small class="label pull-right bg-yellow">{{form.institution_count}}</small>
	       {%  endif %}
</a></li>
	    <li class="active"><a href="/bd/view_bulletins"><i class="fa fa-circle-o"></i> 公告列表
		{% if form and form.bulletin_count %}
               <small class="label pull-right bg-yellow">{{form.bulletin_count}}</small>
	       {%  endif %}
</a></li>
	    <li class="active"><a href="/bd/view_accounts"><i class="fa fa-circle-o"></i> 用户帐号列表
		{% if form and form.account_count %}
               <small class="label pull-right bg-yellow">{{form.account_count}}</small>
	       {%  endif %}
</a></li>
	    <li class="header">编辑</li>
	    <li class="active"><a href="/bd/view_school"><i class="fa fa-circle-o"></i> 新建学校</a></li>
	    <li class="active"><a href="/bd/view_institution"><i class="fa fa-circle-o"></i> 新建培训机构</a></li>
	    <li class="active"><a href="/bd/view_bulletin"><i class="fa fa-circle-o"></i> 新建公告</a></li>
	    <li class="active"><a href="/bd/view_account"><i class="fa fa-circle-o"></i> 新建用户帐号</a></li>

	    <li class="header">其他</li>
            <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>工作1</span></a></li>
            <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>工作2</span></a></li>
            <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>工作3</span></a></li>
          </ul>
        </section>
        <!-- /.sidebar -->
	<!-- }}} -->
      </aside>
      <!-- }}} -->


    </div><!-- ./wrapper -->

    <!-- jQuery 2.1.4 -->
    <script src="/bd/web/AdminLTE/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- jQuery UI 1.11.2 -->
    <script src="/bd/web/static/jquery-ui.min.js" type="text/javascript"></script>
    <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->

    <!-- Bootstrap 3.3.2 JS -->
    <script src="/bd/web/AdminLTE/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>    

  </body>
</html>
